﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="wFrmPopupVentaInternaStockDealerSupervisor.aspx.cs" Inherits="Crosland.Automotriz.Web.Reportes.wFrmPopupVentaInternaStockDealerSupervisor" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>

<%@ Register Assembly="DevExpress.Web.v13.1, Version=13.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    


<div align="center">
          
    <dx:ASPxPopupControl ID="pcSupervisorDealer" runat="server" Height="1px"
        AllowDragging="True" ClientInstanceName="pcSupervisorDealer" Top="200"
        CloseAction="CloseButton" Width="950px" HeaderText="Detalle" 
                          CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                          CssPostfix="Office2010Blue" EnableHotTrack="False" 
                          SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                              PopupHorizontalAlign="OutsideLeft" PopupVerticalAlign="WindowCenter" 
                              AppearAfter="0" Modal="True">
                        <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Web/Loading.gif">
                        </LoadingPanelImage>
                        <HeaderStyle>
                        <Paddings PaddingLeft="7px" />
<Paddings PaddingLeft="7px"></Paddings>
                        </HeaderStyle>
                        <LoadingPanelStyle ImageSpacing="5px">
                        </LoadingPanelStyle>
        <ContentCollection>
            <dx:PopupControlContentControl ID="PopupControlContentControl1" runat="server">
                <dx:ASPxGridView ID="grdStockDealerSupervisor" runat="server" 
                    AutoGenerateColumns="False" ClientInstanceName="GridView" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                    CssPostfix="Office2010Blue" Width="100%" 
                    KeyFieldName="ID">
                    <ClientSideEvents EndCallback="function(s, e) { DrillDownWindow.SetSize(0, 100, 100); }" />
<ClientSideEvents EndCallback="function(s, e) { DrillDownWindow.SetSize(0, 100, 100); }"></ClientSideEvents>
                    <Columns>
                        <dx:GridViewDataTextColumn Caption="Tipo" FieldName="DES_LARGA" VisibleIndex="1" 
                            Width="100px" />
                        <dx:GridViewDataTextColumn Caption="Ruedas" FieldName="Ruedas" VisibleIndex="2" 
                            Width="60px" />
                        <dx:GridViewDataDateColumn Caption="Modelo" FieldName="DES_MODELO" VisibleIndex="3" 
                            Width="150px" />
                        <dx:GridViewDataTextColumn Caption="Cantidad" FieldName="cant" 
                            VisibleIndex="6" Width="70px" >
                            <DataItemTemplate>
                                <dx:ASPxSpinEdit ID="seCantidad" runat="server" 
                                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                    CssPostfix="Office2010Blue" Height="21px" Spacing="0" 
                                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                    Value='<%# Bind("cant") %>' Width="60px">
                                    <SpinButtons HorizontalSpacing="0">
                                    </SpinButtons>
                                    <Paddings PaddingLeft="5px" />
                                </dx:ASPxSpinEdit>
                            </DataItemTemplate>
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn Caption="Id" FieldName="ID" 
                            VisibleIndex="5" Visible="False" />
                        <dx:GridViewDataTextColumn Caption="Color" FieldName="DES_COLOR" 
                            ShowInCustomizationForm="True" VisibleIndex="3" Width="100px">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn Caption=" " ShowInCustomizationForm="True" 
                            VisibleIndex="4" Width="35px">
                            <DataItemTemplate>
                                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                    <tr>
                                        <td style="width: 20px">
                                            <asp:Panel ID="pnColor" runat="server" 
                                                BackColor='<%# System.Drawing.ColorTranslator.FromHtml(Eval("COD_HTML").ToString()) %>' 
                                                Height="15px" Width="15px">
                                            </asp:Panel>
                                        </td>
                                        <td>
                                            <asp:Panel ID="pnColor2" runat="server" 
                                                BackColor='<%# System.Drawing.ColorTranslator.FromHtml(Eval("COD_HTML2").ToString()) %>' 
                                                Height="15px" Width="15px">
                                            </asp:Panel>
                                        </td>
                                    </tr>
                                </table>
                            </DataItemTemplate>
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn Caption="Cliente" FieldName="DES_CLIENTE" 
                            ShowInCustomizationForm="True" VisibleIndex="0" Width="200px">
                        </dx:GridViewDataTextColumn>
                    </Columns>
                    <SettingsBehavior AllowDragDrop="False" AllowGroup="False" AllowSort="False" />

<SettingsBehavior AllowDragDrop="False" AllowSort="False" AllowGroup="False"></SettingsBehavior>

                    <SettingsPager Mode="ShowAllRecords">
                    </SettingsPager>
                    <Settings ShowVerticalScrollBar="True" />
                    <SettingsLoadingPanel Text="Cargando..." />

<Settings ShowVerticalScrollBar="True"></Settings>

<SettingsLoadingPanel Text="Cargando..."></SettingsLoadingPanel>

                    <Images SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                        <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                        </LoadingPanelOnStatusBar>
                        <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                        </LoadingPanel>
                    </Images>
                    <ImagesFilterControl>
                        <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                        </LoadingPanel>
                    </ImagesFilterControl>
                    <Styles CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                        CssPostfix="Office2010Blue">
                        <Header ImageSpacing="5px" SortingImageSpacing="5px" />
<Header SortingImageSpacing="5px" ImageSpacing="5px"></Header>

                        <LoadingPanel ImageSpacing="5px">
                        </LoadingPanel>
                    </Styles>
                    <StylesPager>
                        <PageNumber ForeColor="#3E4846">
                        </PageNumber>
                        <Summary ForeColor="#1E395B">
                        </Summary>
                    </StylesPager>
                    <StylesEditors ButtonEditCellSpacing="0">
                        <ProgressBar Height="21px">
                        </ProgressBar>
                    </StylesEditors>
                </dx:ASPxGridView>
                    <table width="100%">
                        <tr>
                            <td align="right">
                                <dx:ASPxButton ID="btnGrabarDetalle" runat="server" 
                                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                    CssPostfix="Office2010Blue" 
                                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Grabar" 
                                    Width="100px" OnClick="btnGrabarDetalle_Click">
                                    <Image Url="~/Images/save_16.gif">
                                    </Image>
                                </dx:ASPxButton>
                            </td>
                            <td align="right" width="105">
                                <dx:ASPxButton ID="btnCerrar" runat="server" 
                                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                    CssPostfix="Office2010Blue" 
                                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Cerrar">
                                    <ClientSideEvents Click="function(s, e) {
	window.close();
}" />
                                </dx:ASPxButton>
                            </td>
                        </tr>
                </table>
                    </dx:PopupControlContentControl>
        </ContentCollection>
    </dx:ASPxPopupControl>

    <dx:ASPxPopupControl ID="popupErrores" runat="server" AllowDragging="True" 
                    ClientInstanceName="popupErrores" CloseAction="CloseButton" 
                    CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" CssPostfix="Office2010Blue" 
                    EnableViewState="False" HeaderText="Mensaje" Modal="True" 
                    PopupHorizontalAlign="OutsideLeft" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
              Width="300px" EnableHotTrack="False" Left="300">
                
                    <HeaderImage Url="~/Images/icon_message.png">
                    </HeaderImage>
                
                    <LoadingPanelImage Url="~/App_Themes/Office2010Blue/Web/Loading.gif">
                    </LoadingPanelImage>
                    <HeaderStyle>
                    <Paddings PaddingLeft="7px" />
<Paddings PaddingLeft="7px"></Paddings>
                    </HeaderStyle>
                
                    <LoadingPanelStyle ImageSpacing="5px">
                    </LoadingPanelStyle>
                
                 <ContentCollection>
<dx:popupcontrolcontentcontrol ID="PopupControlContentControl2" runat="server" 
                         SupportsDisabledAttribute="True">

    <br />
      <dx:aspxpanel ID="ASPxPanel3" runat="server" DefaultButton="btCreate">
                    <PanelCollection>
                        <dx:panelcontent ID="PanelContent2" runat="server">
                        <table width="100%">
                        <tr>
                        <td align="center" valign="middle">
                        
                        
                        
                            <asp:Label ID="lblMensaje" runat="server"></asp:Label>
                            <br /> &nbsp;</td>
                        
                        </tr>
                        <tr>
                        <td align="center">
                        
                                 
                            <dx:aspxbutton ID="ASPxButton6" runat="server" AutoPostBack="False" 
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" Text="Aceptar" 
                                Width="10px">
                                <ClientSideEvents Click="function(s, e) {
	popupErrores.Hide();
}" />
<ClientSideEvents Click="function(s, e) {
	window.close();
}"></ClientSideEvents>

                                <Image Url="~/Images/ok.png">
                                </Image>
                            </dx:aspxbutton>
                        
                        </td>
                        
                        </tr>
                        
                        
                        </table>




                 </dx:panelcontent>
    </PanelCollection>
   </dx:aspxpanel>
   </dx:popupcontrolcontentcontrol>
</ContentCollection>
                </dx:ASPxPopupControl>

    </div>

    </form>
</body>
</html>


